//
//  NSString+AddMethods.m
//  OC08_Category_Extension_Protocol
//
//  Created by Scott on 16/3/7.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "NSString+AddMethods.h"

@implementation NSString (AddMethods)

+ (void)sayHi {
    NSLog(@"字符串.");
}


+ (NSString *)getFirstCharacterWithString:(NSString *)string {

    return [string substringToIndex:1].uppercaseString;

}

- (NSString *)getFirstCharacterWithString {
    
    return [self substringToIndex:1].uppercaseString;
    
}









@end
